package com.tianpengtech.common.generator.api.field;

public class ApiField {

	private String field;
	private String value;
	private String comment;
	private boolean isRequired;
	
	public static final boolean REQUIRED=true;
	
	public ApiField(String field,String value,String comment){
		this.field = field;
		this.value = value;
		this.comment=comment;
	}
	
	public ApiField(String field,String value,String comment,boolean isRequired){
		this.field = field;
		this.value = value;
		this.comment=comment;
		this.isRequired = isRequired;
	}
	
	public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}

	public boolean isRequired() {
		return isRequired;
	}

	public void setRequired(boolean isRequired) {
		this.isRequired = isRequired;
	}
	
}
